home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 103
/
Vol 103.iso
/
games
/
starship.swf
/
scripts
/
DefineButton2_80
/
BUTTONCONDACTION on(release, keyPress Enter).as
Wrap
Text File
|
2010-03-13
|
449b
|
24 lines
on(release, keyPress "<Enter>"){
if(input ne "")
{
result = "";
i = 0;
while(code.length >= i)
{
if(code[i] eq input)
{
startlevel = i;
result = "password for level " + i;
gotoAndPlay(81);
break;
}
i++;
}
if(result == "")
{
result = "bad password";
input = "";
}
}
}